/**
 * 
 */
package galacticthrone.map;

import java.util.Set;

import galacticthrone.empire.Empire;
import galacticthrone.map.data.DataMap;

// TODO Javadoc
/**
 * <br>
 *
 * @author Jaco van der Westhuizen
 */
public class GalacticMap
{
    private final DataMap dataMap;
    private final Set<Empire> empires;
    private Empire player;

    public GalacticMap(MapGenerator gen)
    {
        this.dataMap = gen.generate();
        
        this.empires = gen.getEmpires();
        this.player = gen.getPlayerEmpire();
    }

    public DataMap getDataMap()
    {
        return dataMap;
    }
    
    public Set<Empire> getEmpires()
    {
        return empires;
    }
    
    public Empire getPlayerEmpire()
    {
    	return player;
    }

	/**
     * @return
     */
    public int getSizeX()
    {
	    return dataMap.sizeX;
    }

	/**
     * @return
     */
    public int getSizeY()
    {
	    return dataMap.sizeY;
    }
}
